Skip to main content
This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal

HCL Notes/Domino 8.5 Forum (includes Notes Traveler)

HCL Notes/Domino 8.5 Forum (includes Notes Traveler)

Previous Next

Thanks, but...

Thanks - but is there any way that you could help me to modify this code so that I can get it working?

Thanks for your time!

Sub Click(Source As Button)

'Declare relevant variables
Dim db As NotesDatabase
Dim thisDoc As NotesDocument
Dim emailBodyMsg As Variant
Set emailBodyMsg = thisDoc.GetItemValue("emailBody")(0)
Dim uidoc As NotesUIDocument
Set thisDoc = uidoc.Document
Set uidoc = w.CurrentDocument

' get the relevant db and create a new document in the db
Set db = New NotesDatabase( "", "LocationsSystem.nsf" )
Set thisDoc = New NotesDocument( db )

' set the new document's form so it's readable as a mail memo
thisDoc.Form = "Memo"

' set the new document's subject and body
thisDoc.Subject = "Location System: A Support Request Has Been Logged"
thisDoc.Body = emailBodyMsg

' mail the new document
Call thisDoc.Send( False, "John Smith" )
End Sub


Feedback response number WEBB8M3FCE created by ~Elizabeth Nonfreepulflar on 09/26/2011

Sending contents of a field in an e... (~Elizabeth Nonf... 26.Sep.11)
. . code (~George Pregero... 26.Sep.11)
. . . . Thanks, but... (~Elizabeth Nonf... 26.Sep.11)
. . . . . . errors (~George Pregero... 26.Sep.11)
. . . . . . . . You're right (~Elizabeth Nonf... 26.Sep.11)
. . . . . . . . . . This should work with a button in t... (~George Pregero... 26.Sep.11)
. . . . . . . . . . . . Thanks! (~Elizabeth Nonf... 26.Sep.11)




Printer-friendly

Search this forum

Member Tools


RSS Feeds

 RSS feedsRSS
All forum posts RSS
All main topics RSS